<?php include_once 'tie_header.php';?>
<!--主体内容-->
<div class="main">
	<?php include_once 'tie_left.php';?>
	
	<div class="right_c">
	<form action="index.php?mod=tie&code=addsave" method="post">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tie">
		  <tr>
			<th colspan="2">发布招贴：</th>
		  </tr>
		  <tr>
			<td width="70" class="tie_lm">类别：</td>
			<td>
			<?php foreach($tie_category as $key=>$val){ ?>
			<label><input type="radio" name="tie_type" value="<?php echo $key;?>" <?php if($key==0){echo "checked=\"checked\"";}?> /><?php echo $val;?></label>
			<?php } ?>
			</td>
		  </tr>
		  <tr>
			<td class="tie_lm">标题：</td>
			<td><input type="text" class="tie_input_title" name="title" /></td>
		  </tr>
		  <tr>
			<td class="tie_lm">地点：</td>
			<td><input type="text" class="tie_input_text" name="city" /><a href="##">选择地区</a></td>
		  </tr>
		  <tr>
			<td class="tie_lm">截止日期：</td>
			<td><input type="text" class="tie_input_text tie_input_date" name="endtime" /></td>
		  </tr>
		  <tr>
			<td class="tie_lm" valign="top">详细介绍：</td>
			<td><textarea rows="5" class="tie_textarea" name="content" ></textarea></td>
		  </tr>
		  <tr>
			<td class="tie_lm">联系方式：</td>
			<td><input type="text" class="tie_input_text" name="tel" /></td>
		  </tr>
		  <tr>
			<td class="tie_lm">图片：</td>
			<td><input type="text" class="tie_input_text" name="pic" id="tb_pic" /><a href="#" onclick="window.open('mul_upload/tie_upload.php', '图片批量上传', 'left=56,top=42,directories=no,width=430,height=300,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no', true);">添加图片</a></td>
		  </tr>
		  <tr>
			<td colspan="2"><input type="reset" value="取消" class="tie_pass" /><input type="submit" value="发布" class="tie_post" /></td>
		  </tr>
		</table>
	</form>
	</div>
<div class="float_both"></div>
</div>
<script type="text/javascript">
$(function(){
	$(".tie_title_type a").click(function(){
		$(".tie_title_type a").removeClass("this");
		$(this).addClass("this");	
	});
});
</script>
<!--底部-->
<?php include_once 'footer.php';?>
